*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[data-theme="light"] {
  --bg-color: #fff;
  --text-color: #333;
}

[data-theme="dark"] {
  --bg-color: #000;
  --text-color: #fff;
}

body {
  min-height: 100%;
  max-width: 100%;
  width: 600px;
  margin: auto;
  text-align: center;
  background-color: var(--bg-color);
  color: var(--text-color);
}

#gesture-indicator {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  word-break: break-all;
}

#content {
  position: absolute;
  max-width: 600px;
  width: 100%;
}

#content {
  top: 25%;
  transition: 0.14s;
}

@media only screen and (min-height: 250px) {
  #content {
    top: 62px;
  }
}

@media only screen and (min-height: 350px) {
  #content {
    top: 87px;
  }
}

@media only screen and (min-height: 450px) {
  #content {
    top: 135px;
  }
}

@media only screen and (min-height: 650px) {
  #content {
    top: 195px;
  }
}

@media only screen and (min-height: 850px) {
  #content {
    top: 255px;
  }
}

.logo {
  font-size: 28px;
  font-weight: bold;
  white-space: normal;
  word-wrap: break-word;
  overflow: auto;
  text-decoration: none;
}

img.smaller {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 15px #fff) brightness(1.1);
}

span {
  display: block;
  overflow: hidden;
  padding-left: 5px;
  vertical-align: middle;
}

.search_part {
  margin-bottom: 20px;
}

.search.icon:hover {
  /* 小手 */
  cursor: pointer;
}

.search.icon {
  /* color: red; */
  width: 12px;
  height: 12px;
  border: solid 2px var(--text-color);
  border-radius: 100%;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  text-align: center;
  margin: auto;
}

.search.icon:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 3px;
  height: 5px;
  width: 2px;
  background-color: var(--text-color);
}

.search_bar {
  position: relative;
  display: table;
  vertical-align: middle;
  width: 90%;
  max-width: 600px;
  margin: 15px auto 0;
}

#search_input {
  height: 46px;
  padding: 0 12px;
  width: 100%;
  outline: none;
  border: none;
  font-size: 15px;
  background-color: transparent;
}

#search_submit {
  display: none;
  outline: none;
  height: 46px;
  width: 56px;
  float: right;
  font-size: 15px;
  font-weight: bold;
  border: none;
  background-color: transparent;
  padding: 0 10px;
}

.search_bar {
  border: 1px solid var(--text-color);
  border-radius: 24px;
  background: var(--bg-color);
}

/* 输入框文字 */
#search_input,
#search_submit {
  color: var(--text-color);
}

input::placeholder {
  color: val(--text-color);
}

.bdSug_wpr {
  overflow-y: scroll !important;
  max-height: 30% !important;
  background: rgba(255, 255, 255, 1) !important;
  border: 1px solid !important;

  border-radius: 0 0 24px 24px;
}

.bdSug_wpr table {
  background: none !important;
}

.bdSug_wpr td {
  margin: 4px !important;
  padding: 10px !important;
  color: #1b1b1b;
  background: none;
}

.bdSug_sd {
  height: 0px !important;
}

.bdSug_app {
  display: none !important;
}

#bookmark_part {
  text-align: center;
  max-width: 600px;
  background-color: transparent;
  margin: 0 auto;
  padding: 0;
  border-radius: 0px;
}

#box_container-leable {
  text-align: left;
  margin: 0 auto;
  font-size: 0;
}

/* 只有在是dark才显示filter */
.box {
  margin: 4px 9px 4px;
  width: 46px;
  border: 0;
  position: relative;
  display: inline-block;
  text-align: center;
  filter: drop-shadow(0 0 10px #fff);
}

.box a {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 23px;
  width: 46px;
  height: 46px;
}

.title {
  border-radius: 23px;
  color: #ffffff;
  width: 46px;
  line-height: 46px;
  height: 46px;
  font-size: 15px;
}

.url {
  margin: 2px 0 0;
  width: 46px;
  height: 20px;
  line-height: 20px;
  white-space: normal;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: clip;
  -o-text-overflow: clip;
  ms-text-overflow: clip;
  color: var(--text-color);
  font-size: 10px;
}

@media only screen and (min-width: 128px) {
  #box_container-leable {
    width: 64px;
  }
}

@media only screen and (min-width: 192px) {
  #box_container-leable {
    width: 128px;
  }
}

@media only screen and (min-width: 256px) {
  #box_container-leable {
    width: 192px;
  }
}

@media only screen and (min-width: 320px) {
  #box_container-leable {
    width: 256px;
  }
}

@media only screen and (min-width: 384px) {
  #box_container-leable {
    width: 320px;
  }
}

@media only screen and (min-width: 448px) {
  #box_container-leable {
    width: 384px;
  }
}

@media only screen and (min-width: 512px) {
  #box_container-leable {
    width: 448px;
  }
}

@media only screen and (min-width: 576px) {
  #box_container-leable {
    width: 512px;
  }
}

.sort-ghost {
  opacity: 0.3;
}

/* 主题 */

.container-leable {
  width: 100%;
  height: 100vh;
}

/* 开关样式 */
.switch {
  font-size: 17px;
  position: fixed;
  right: 40px;
  top: 25px;
  display: inline-block;
  width: 64px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #73c0fc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  border-radius: 20px;
  left: 2px;
  bottom: 2px;
  z-index: 2;
  background-color: #e8e8e8;
  transition: 0.4s;
}

.sun svg {
  position: absolute;
  top: 6px;
  left: 36px;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.moon svg {
  fill: #73c0fc;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.input:checked + .slider {
  background-color: #183153;
}

.input:focus + .slider {
  box-shadow: 0 0 1px #183153;
}

.input:checked + .slider:before {
  transform: translateX(30px);
}

/* 移动引擎 */
.🤚 {
  --skin-color: #e4c560;
  --tap-speed: 0.6s;
  --tap-stagger: 0.1s;
  position: relative;
  width: 70px;
  height: 60px;
  /* margin-left: 80px; */
  position: absolute;
  top: 20px;
  right: -150px;
}

.🤚:before {
  content: "";
  display: block;
  width: 180%;
  height: 75%;
  position: absolute;
  top: 70%;
  right: 20%;
  background-color: black;
  border-radius: 40px 10px;
  -webkit-filter: blur(10px);
  filter: blur(10px);
  opacity: 0.3;
}

.🌴 {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--skin-color);
  border-radius: 10px 40px;
}

.👍 {
  position: absolute;
  width: 120%;
  height: 38px;
  background-color: var(--skin-color);
  bottom: -18%;
  right: 1%;
  -webkit-transform-origin: calc(100% - 20px) 20px;
  -ms-transform-origin: calc(100% - 20px) 20px;
  transform-origin: calc(100% - 20px) 20px;
  -webkit-transform: rotate(-20deg);
  -ms-transform: rotate(-20deg);
  transform: rotate(-20deg);
  border-radius: 30px 20px 20px 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.👍:after {
  width: 20%;
  height: 60%;
  content: "";
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: -8%;
  left: 5px;
  border-radius: 60% 10% 10% 30%;
  border-right: 2px solid rgba(0, 0, 0, 0.05);
}

.👉 {
  position: absolute;
  width: 80%;
  height: 35px;
  background-color: var(--skin-color);
  bottom: 32%;
  right: 64%;
  -webkit-transform-origin: 100% 20px;
  -ms-transform-origin: 100% 20px;
  transform-origin: 100% 20px;
  -webkit-animation-duration: calc(var(--tap-speed) * 2);
  animation-duration: calc(var(--tap-speed) * 2);
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-transform: rotate(10deg);
  -ms-transform: rotate(10deg);
  transform: rotate(10deg);
}

.👉:before {
  content: "";
  position: absolute;
  width: 140%;
  height: 30px;
  background-color: var(--skin-color);
  bottom: 8%;
  right: 65%;
  -webkit-transform-origin: calc(100% - 20px) 20px;
  -ms-transform-origin: calc(100% - 20px) 20px;
  transform-origin: calc(100% - 20px) 20px;
  -webkit-transform: rotate(-60deg);
  -ms-transform: rotate(-60deg);
  transform: rotate(-60deg);
  border-radius: 20px;
}

.👉:nth-child(1) {
  -webkit-animation-delay: 0;
  animation-delay: 0;
  -webkit-filter: brightness(70%);
  filter: brightness(70%);
  -webkit-animation-name: tap-upper-1;
  animation-name: tap-upper-1;
}

.👉:nth-child(2) {
  -webkit-animation-delay: var(--tap-stagger);
  animation-delay: var(--tap-stagger);
  -webkit-filter: brightness(80%);
  filter: brightness(80%);
  -webkit-animation-name: tap-upper-2;
  animation-name: tap-upper-2;
}

.👉:nth-child(3) {
  -webkit-animation-delay: calc(var(--tap-stagger) * 2);
  animation-delay: calc(var(--tap-stagger) * 2);
  -webkit-filter: brightness(90%);
  filter: brightness(90%);
  -webkit-animation-name: tap-upper-3;
  animation-name: tap-upper-3;
}

.👉:nth-child(4) {
  -webkit-animation-delay: calc(var(--tap-stagger) * 3);
  animation-delay: calc(var(--tap-stagger) * 3);
  -webkit-filter: brightness(100%);
  filter: brightness(100%);
  -webkit-animation-name: tap-upper-4;
  animation-name: tap-upper-4;
}

@-webkit-keyframes tap-upper-1 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(0.4);
    transform: rotate(10deg) scale(0.4);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(0.4);
    transform: rotate(50deg) scale(0.4);
  }
}

@keyframes tap-upper-1 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(0.4);
    transform: rotate(10deg) scale(0.4);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(0.4);
    transform: rotate(50deg) scale(0.4);
  }
}

@-webkit-keyframes tap-upper-2 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(0.6);
    transform: rotate(10deg) scale(0.6);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(0.6);
    transform: rotate(50deg) scale(0.6);
  }
}

@keyframes tap-upper-2 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(0.6);
    transform: rotate(10deg) scale(0.6);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(0.6);
    transform: rotate(50deg) scale(0.6);
  }
}

@-webkit-keyframes tap-upper-3 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(0.8);
    transform: rotate(10deg) scale(0.8);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(0.8);
    transform: rotate(50deg) scale(0.8);
  }
}

@keyframes tap-upper-3 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(0.8);
    transform: rotate(10deg) scale(0.8);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(0.8);
    transform: rotate(50deg) scale(0.8);
  }
}

@-webkit-keyframes tap-upper-4 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(1);
    transform: rotate(10deg) scale(1);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(1);
    transform: rotate(50deg) scale(1);
  }
}

@keyframes tap-upper-4 {
  0%,
  50%,
  100% {
    -webkit-transform: rotate(10deg) scale(1);
    transform: rotate(10deg) scale(1);
  }

  40% {
    -webkit-transform: rotate(50deg) scale(1);
    transform: rotate(50deg) scale(1);
  }
}
/* 单选框 */

.container-leable {
  display: block;
  position: absolute;
  cursor: pointer;
  font-size: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 5px;
  -webkit-box-shadow: 2px 2px 0px rgb(183, 183, 183);
  box-shadow: 2px 2px 0px rgb(183, 183, 183);
  width: 10.6px;
  height: 10.6px;
  top: 60px;
  left: -50px;
}

.container-leable input {
  position: absolute;
  top: 0;
  right: 50px;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  border-radius: 5px;
}
/* Create a custom checkbox */
.checkmark {
  position: relative;
  top: 0;
  left: 0;
  height: 1.3em;
  width: 1.3em;
  background-color: #ccc;
  border-radius: 5px;
}

/* When the checkbox is checked, add a blue background */
.container-leable input:checked ~ .checkmark {
  -webkit-box-shadow: 3px 3px 0px rgb(183, 183, 183);
  box-shadow: 3px 3px 0px rgb(183, 183, 183);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  opacity: 1;
  background-image: linear-gradient(
    45deg,
    rgb(100, 61, 219) 0%,
    rgb(217, 21, 239) 100%
  );
}

.container-leable input ~ .checkmark {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  opacity: 1;
  -webkit-box-shadow: 1px 1px 0px rgb(183, 183, 183);
  box-shadow: 1px 1px 0px rgb(183, 183, 183);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  opacity: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

/* Show the checkmark when checked */
.container-leable input:checked ~ .checkmark:after {
  opacity: 1;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

/* Style the checkmark/indicator */
.container-leable .checkmark:after {
  left: 0.5em;
  top: 0.3em;
  width: 0.25em;
  height: 0.5em;
  border: solid white;
  border-width: 0 0.15em 0.15em 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
